<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <h1>Test</h1>
        <?php
        $arr = array();
        $arr[0] = "phuc";
        $arr[1] = "hoang";
        for($i=0 ; $i<2;$i++)
        {
            echo $arr[$i] . '<br/>';
        }
       require("/DAO/TheLoaiDAO.php");
       $dao = new TheLoaiDAO();

        $temp = $dao->findAll();
        //echo count($temp);
        foreach ($temp as $value) {
            echo $value->GetId() . "<br/>";
        }

        ?>
    </body>
</html>
